package yuhao.enumdemo;

public class Demo2 {
    public static void main(String[] args) {
        Season.Atumon.show();
        Season.Spring.show();
        Season.Summer.show();
        Season.Winter.show();
        Season[] values = Season.values();
        for (Season value : values) {
            System.out.println(value);
        }
        Season summer = Season.valueOf("Summer");
        System.out.println(summer);
    }
}
